﻿@using You.Niao.User.Model;
@model Users
@using Common;
@{
    ViewBag.Title = "Account";
    Layout = "~/Views/Shared/HeadPage.cshtml";
}

@section head{
    <link href="/css/style2012.css" rel="stylesheet" />
     }

<!--内容 start-->
<div class="main">
	<div class="aLd"><a href="/Sofa/MySofa">提供沙发</a><a href="/Sofa/MeetTogether">相约同行</a><a href="#">游玩分享</a></div>
    <div class="aRd"><a href="#"><img src="images/dd2.gif" />意见反馈</a><a href="/User/Account" style="width:80px;" id="aRd_current"><img src="images/dd1.gif" />设 置</a></div>
    <div class="wborder">
     	<span class="clA"><a id="clA_current" href="/User/Account">帐号设置</a><a href="#">头像设置</a><a href="#">通知设置</a></span>
        <br/> <br/>        

        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="inputxt">
        <tr>
            <td width="80" class="cTitle">昵称</td>
            <td width="470"> <input id="Txtnickname" name="" type="text" class="text_input" style="width:450px;" width="450"  value="@CommonCookie.GetCookie("NickName")"/>&nbsp;</td>
            <td width="367"></td>
          </tr>
          <tr><td colspan="3" height="20"></td>
          </tr>
          <tr>
            <td class="cTitle">性别</td>
            <td colspan="2">
          
                 <input name="sex" type="radio"  value="0" @Html.Raw( Model.Sex==0?"checked=\"checked\"":"") />男
                 <input name="sex" type="radio" value="1" @Html.Raw(Model.Sex==1?"checked=\"checked\"":"")  />女
                 
            </td>
            </tr>
          <tr><td colspan="3" height="20"></td>
          </tr>
          <tr>
            <td class="cTitle">出生</td>
            <td colspan="2">
            <div class="city" >
        
               <input type="text" id="txtDate2" class="date" value="@string.Format("{0:yyyy-MM-dd}",Model.Birthday)" />

            </div>
            </td>
            </tr>
          <tr><td colspan="3" height="20"></td>
          </tr>
          <tr>
            <td class="cTitle">所在地</td>
            <td colspan="2">
                
                <select id="province" name="s_province"  style="height:25px; font-size:14px;"></select>&nbsp;&nbsp;
                <select id="city" name="s_city" style="height:25px;font-size:14px;"></select>&nbsp;&nbsp;
                <select id="area" name="s_county" style="height:25px;font-size:14px;"></select>            

            </td>
            </tr>
          <tr><td colspan="3" height="20"></td>
          </tr>
          <tr>
            <td class="cTitle" valign="top">个性签名</td>
            <td colspan="2">
<textarea id="Signature" class="text_input2">@Model.Signature</textarea>
        </td>
            </tr>
          <tr><td colspan="3" height="40"></td>
          </tr>
          <tr>
            <td colspan="3" align="center"><input id="Submit" name="" type="button" class="bnt3" value="提交" /></td>
            </tr>
        </table>
      
    <br/><br/><br/><br/><br/><br/><br/>
    
  </div>
</div>
<!--内容 end-->
<script src="/Js/User/Account.js"></script>


<script type="text/javascript">
    SubmitUserInfo.p = "@Model.Province";
    SubmitUserInfo.c = "@Model.City";
    SubmitUserInfo.a = "@Model.Area";
</script>
@section foot{
    <script src="/Js/jquery.jSelectDate.js"></script>
    <script type="text/javascript">
        $("body").ready(function () {
            $("#txtDate2").jSelectDate({
                css: "date",
                yearBeign: 1930,
                disabled:false
            });
        })
 </script>	 
    }